import sys
#sys.path.insert(0, "build/lib.macosx-10.4-i386-2.5")

import coords as C
import coords

ob=C.Position('12:34:45.34 -23:42:32.6')
#print ob.j2000()
print ob.b1950()

coords._test()

from coords import FK5, FK4, GAL

#c = coords._conv_map[(GAL, FK5)]

gal_fk5 = coords.coord_conv(GAL, FK5)

print gal_fk5([0., 0.1], [0., 1.])


# ra, dec : numpy 1d array (or shape doesn't matter)
p5=C.Position((ra, dec),system='galactic')
p5.j2000()
